<!DOCTYPE html>
<html lang="en">
  <head>
    <script type="text/javascript" src="../assets/js/ArmstrongNumber.js"></script>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link
      href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css"
      rel="stylesheet"
      integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6"
      crossorigin="anonymous"
    />
    <title>Armstrong Checker</title>
    <link href="../assets/css/ArmstrongNumber.css" rel="stylesheet" />
  </head>
  <body>
    <!-- <nav class="navbar navbar-light bg-light">
      <div class="container-fluid" style="justify-content: center">
        <span class="navbar-brand mb-0 h1">Enter the Number</span>
      </div>
    </nav> -->
    <div class="container">
      <h1 class="heading">Armstrong Checker</h1>
      <p>
        <h2>Armstrong number is a number that is equal to the sum of cubes of its digits.</h2>
      </p>
      <div id="div2">
        <span class="span1">Check for Armstrong Number ? </span>
        <br>
        <form id="form" onsubmit="ArmstrongChecker()">
          <input type="text" placeholder="Enter the Number" id="inp" class="input1"/>
          <br>
        </form>
          <button onclick="ArmstrongChecker()" class="btn1">Check</button>
          <button onclick="myFunction()" class="btn1">Reset</button>
          <div class="output">
            <span style="">
              <span id="text" style="color: black; font-weight: 600"></span>
            </span>
          </div>
      </div>
      <br>
    </div>
  </body>
</html>
